home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C22 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.3 KB  |  87 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C22
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     MultipleInheritance1.exe \
  25.     MultipleInheritance2.exe \
  26.     MultipleInheritance3.exe \
  27.     MultipleInheritance4.exe \
  28.     Overhead.exe \
  29.     Mithis.exe \
  30.     Persist1.exe \
  31.     Persist2.exe \
  32.     Paste.exe 
  33.  
  34. test: all 
  35.     MultipleInheritance1.exe  
  36.     MultipleInheritance2.exe  
  37.     MultipleInheritance3.exe  
  38.     MultipleInheritance4.exe  
  39.     Overhead.exe  
  40.     Mithis.exe  
  41.     Persist1.exe  
  42.     Persist2.exe  
  43.     Paste.exe  
  44.  
  45. bugs: 
  46.     @echo No compiler bugs in this directory!
  47.  
  48. MultipleInheritance1.exe: MultipleInheritance1.obj 
  49.     $(CPP) $(OFLAG)MultipleInheritance1.exe MultipleInheritance1.obj 
  50.  
  51. MultipleInheritance2.exe: MultipleInheritance2.obj 
  52.     $(CPP) $(OFLAG)MultipleInheritance2.exe MultipleInheritance2.obj 
  53.  
  54. MultipleInheritance3.exe: MultipleInheritance3.obj 
  55.     $(CPP) $(OFLAG)MultipleInheritance3.exe MultipleInheritance3.obj 
  56.  
  57. MultipleInheritance4.exe: MultipleInheritance4.obj 
  58.     $(CPP) $(OFLAG)MultipleInheritance4.exe MultipleInheritance4.obj 
  59.  
  60. Overhead.exe: Overhead.obj 
  61.     $(CPP) $(OFLAG)Overhead.exe Overhead.obj 
  62.  
  63. Mithis.exe: Mithis.obj 
  64.     $(CPP) $(OFLAG)Mithis.exe Mithis.obj 
  65.  
  66. Persist1.exe: Persist1.obj 
  67.     $(CPP) $(OFLAG)Persist1.exe Persist1.obj 
  68.  
  69. Persist2.exe: Persist2.obj 
  70.     $(CPP) $(OFLAG)Persist2.exe Persist2.obj 
  71.  
  72. Paste.exe: Paste.obj Vendor.obj 
  73.     $(CPP) $(OFLAG)Paste.exe Paste.obj Vendor.obj 
  74.  
  75.  
  76. MultipleInheritance1.obj: MultipleInheritance1.cpp ..\purge.h 
  77. MultipleInheritance2.obj: MultipleInheritance2.cpp ..\purge.h 
  78. MultipleInheritance3.obj: MultipleInheritance3.cpp ..\purge.h 
  79. MultipleInheritance4.obj: MultipleInheritance4.cpp ..\purge.h 
  80. Overhead.obj: Overhead.cpp 
  81. Mithis.obj: Mithis.cpp 
  82. Persist1.obj: Persist1.cpp ..\require.h 
  83. Persist2.obj: Persist2.cpp ..\require.h 
  84. Vendor.obj: Vendor.cpp Vendor.h 
  85. Paste.obj: Paste.cpp Vendor.h 
  86.  
  87.